fixed broken some links in templates