fixing typo in var name