warning when provider is not set