diff --git a/cookbook/advanced_rag_eval.ipynb b/cookbook/advanced_rag_eval.ipynb
index 3971999956c..2e71ce549ea 100644
--- a/cookbook/advanced_rag_eval.ipynb
+++ b/cookbook/advanced_rag_eval.ipynb
@@ -30,7 +30,7 @@
    "outputs": [],
    "source": [
     "# lock to 0.10.19 due to a persistent bug in more recent versions\n",
-    "! pip install \"unstructured[all-docs]==0.10.19\" pillow pydantic lxml pillow matplotlib tiktoken open_clip_torch torch"
+    "! pip install \"unstructured[all-docs]==0.10.19\" pillow pydantic lxml matplotlib tiktoken open_clip_torch torch"
    ]
   },
   {
@@ -409,7 +409,7 @@
     "    table_summaries,\n",
     "    tables,\n",
     "    image_summaries,\n",
-    "    image_summaries,\n",
+    "    img_base64_list,\n",
     ")"
    ]
   },