fix the pymongo time problem