some fixes on pathfinder