fixed api http client