Fixed the backspace bug