Fixed backspace issue by recognizing multiple keys as backspace and modifying the backspace() function.