changed pymongo 2.4