replace broken links