change the bson to bson.objectid