fixed links to template files