Fixed a non-working variable