modify MongoClient.php