modify path order