buf fix: sampling