support for null comparison