fix http request error