Bugfix: prevent error if token table was cleared - make sure token exists!