small fix, token not deleted