Fixed a couple of variable name errors.