buf fix

Signed-off-by: Darren Ha <darren.ha@samsung.com>