fixed a bug on capacities for the activation/passivation.