can hdr be nil?