fixed error with readout code