convert to HttpClient, still has the problem