implemented backspace token handling