fix a path