Category repairing