correct bug min_capacity