fixed broken links in templates