should compare the nulls with ==, my mistake