remove location route code