cleaning up broken links