correct var name in template