fix service provider for extending the database