fixed typo in template variable name