Problems while using TSOP 1738 IR receiver

Hi there! I'm currently doing an IR remote Robot. I got the materials alright, but this little guy (TSOP 1738) is ruining the project! I've decoded the values of certain keys of my remote and put them into the code. But the problem is, it obeys only the first command I send. Then it keeps moving itself in that direction and doesn't respond to my commands at all. But, when I opened the serial monitor, it takes the first command (forward) and then keeps getting some stray values (some gibberish codes like FFFFFF). It does show my button presses that I do other than my first one, but dosen't respond to it. I've given my IDE code below. Please help :frowning:

ir.ino (1.87 KB)