make the backspace behave properly