fix incorrect usage of boost::circular_buffer