changed backspace key behavior