Fix variable check 2