Fixed authorization issue