more pathfinding changes