Fix writing body field.