changed config to provider and provider_config