use less strict not null check