fix bug pathfinding