changed to pymongo 2.2.1