fix uri to url