Repair flag removal