Fixed a reference to a non-existing variable