fix wrong variable name for template normalizer #182