fix anchor in template