fix backspace in terminal