added httprequest fixes