find one bug in revoke
fix bug in revoke in client