corrected incorrect variable name