Corrected typo in variable names