fix backspace issues