Fixed bug with backspace