fix incorrect variable name