path repair