Fixed coding mistake causing build errors