make some changes for the http request