fix circle buffer not full filled bug

The circle buffer may not be full filled when it buffered to 100%, since `percent` in `_progress` is larger than 100 sometimes.