fix of fix in construct httpClient object