(master) fixed bug with template name