fix annoying backspace bug