fix pool-size limiter