fix pathfinder