Fixed the mongo client