mongodb connection fix