fix backspace problem