fix the RingBuffer export