buf fix.