minor bug fixes reguarding backspace