fixed issue with tokens not being deleted using backspace