Fixed a discrepancy in variable naming