Repair link bug