fix HttpRequest