fix chat body extraction