- fix wrong write buffers

Signed-off-by: hearts <hearts.zhang@gmail.com>