Fix for provider service creation