fix backspace issue