fix error to http client