finish read buff
onRead
fix bug