fix routes: shortest  paths go later