fix tx data read pointer bug