fixed http response reading error