Mongo provider change fix