use TEMPLATE_PATH directly instead of another variable