fix TextField backspace delete bug