fixing mongo strangeness