Fix in Capsule lib when there is no data