fix bad read offset