fixed all backspace bugs