remove parent_id in table transaction