for backspace and delete