partially fixed spamming commands issue

still some kind of bug when spamming a lot of direction commands. looks
like something with the input buffer parsing