Fixed a reference error