fix possible loss of data when doing reads
on especially doledb.