Fix typo, adjust the variable name for the correct one