Fix: Pb into repair function