fix circle buffer not full filled bug