Repair the error