Fixed inconsistent variable name