fix response body and headers contract