fixes serviceProvider cache in serviceLocator