fix extra capacity count