Fix bug for backspace