fix case sensitive template name