fixes broken revoke button