fix legacy urls order