Fix var offset