Active Optimizing Seal Repair