pana protocol: increased read buffer, fix possible out of bound