reduce repetition of route normalization