Fix when we don't have the user agent