urlencode the urls