Fixed improper variable naming.