fix header_range to avoid Date overwrite error