adapt PATH