correct template handling