fix the BackSpace bug