commend out ring buffer