fixed template name issue