support backspace in interactive mode