fix path order