fixed mongodb connection#