Fix var access