small buf fix