cleanup
supporting "Link" in templates