corrected typo in variable name