Fix var usage