Repair faulty links