fixed incorrect template variable