A method for stabilizing a leaking implanted device capable of being hydraulically adjusted by introducing or withdrawing hydraulic fluid to/from the device, the device having an inner space for enclosing the hydraulic fluid. The method comprises at least one of the steps of introducing at least one of: a solidifying fluid, an initiator adapted to exert influence on a solidifying fluid or the hydraulic fluid, and a mixture of a solidifying fluid and an initiator, into said leaking implanted hydraulically adjustable device for solidifying the solidifying fluid or the hydraulic fluid for permanently defining the volume and/or shape of the device, and repairing a leakage, puncture or rupture of the implanted hydraulically adjustable device by the introduction of a sealing component which forms a layer on the inside of the implanted hydraulically adjustable device preventing further leakage with retained function of the device, such that the repaired implanted hydraulically adjustable device can be hydraulically adjusted by introducing or withdrawing fluid to/from the device.