fixed incorrect variable name.