fix an error in multipart-reply message factory