reorder_img cleanup