Backspace bug fix