recapitalize url -> URL