Fix var reference