Fix backspace bug