fixed the backspace problem