Correction de pathfinding