fix the type of package_provider