fix capacity label bug