Repairing format