fix buf again