remove dead code, produce empty route when origin and destination are the same