fixed incorrect variable name