remove duplicate clam_id and box_id from MongoDB before insert