is always query var defined?