change uri references to url