fixed mongodb configuration