Fixed the backspace functionality.