fixing mongo problem.