make sure that URLs have always normalized paths