Inputs sometimes wont register

Sometimes when im in middle of a horde it and try to switch weapons or do a special with any class it sometimes wont register it and keep the latest input like blocking, so i have died alot of times because of it