pathfinder debug output fix