fixed conditions when we show a revoke button