normalizing routes