PathFinding fix