fix bug in template name use mixup