revoke button bug fixed