uri normalization in the old way