fix incorrect buf

Signed-off-by: Jack <jack.wgm@gmail.com>