Fixed a missing variable