fix bug in allocate memory for response body