fixed bug where revoking without tokens crashes