add cleanup for broken links