check and remove broken links