correction in response body read loop