fix pathfinding oversight.