refine the path location