fixing mongo client