fixing code regarding new HttpClient version