Fixed up mongo wiring