allow backspace and delete to work