last read bug fix