Fix the incorrect overwrite order.