fix buffer size.

Signed-off-by: charlown.cai <charlown@163.com>