repairing broken links