Fixed directory name complication for template name