Fixed ReferenceError. Mispelled variable.