modify path struction