+bug fix in read