Fixed mongo error