Fixed Reference Error

Introduced by a combination of commits  b9a432bd245cfd6a75c30024a1a4c3f902d28ecb and 5eb1adce67d96811f0b85c0da3568e3d076c054a .