broken pathfinding due to syntax errors