Bugfixing delete and backspace