treat null as a primitive