remove hardcoded links in templates