fixing typo in variable name