Fix crash token revokation