fix bug in read data