fixed backspace bug