make sure we conver properly from string url to uri