fix db mongo-connect bug