path refine