fix link in templates