fix httprequest error