fix unnecessary pass-by-value in routing sample