fix order of path