fixing  IS NOT NULL test