Fixed variable naming bug.