Making the URL correct