util.mergedomain check for nulls