fixed incorrect variable name causing error