Fixed a ReferenceError