corrected mistyped variable name