check merge_with for nil value, too