get the URL correct