refine path join