change not null check