fix bug in reading with reduceFactor