fixed a typo in a variable name