fix broken links with single quotes