add finish code for broken links