repair paths