Fix var issue