Buf fix: invalid context stream