mongo connection fix