fix Connection of pymongo