convert URI instance