adjusts routes