modify path treats