bugfix on pathfindingOrder needed