Fixed mongo connection