Repair of retype error