Fixed inconsistent variable naming