Clear up pathnames