remove unused link in templates