Fix recursive read bug in the read body functionsC