switched loading of serviceprovider to deferred