fixed #21
fixed impersonation bugged after removing impersonated token