use url.URL instead of strings, fixes 404s