fixed HTTPResponse bug