better normalization of urls