function UriToUrl in use