Fixed a dumb mistake

referencing an old variable