fix with `unicode(template.name)`