Repair id reference