improve IsNull when map is null