Refine path for bt