fix requestAuthorization