ringbuffer was fixed