fixed appsettings api interaction