diff --git a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb
index 50362ce042b42a7414de808eb09632677a521f7c..8efc47418fc85af71983833c2ce4ac8df34fc02c 100644
--- a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb
@@ -252,7 +252,7 @@
     "            n_empty_sc += len(acelltable[acelltable > 15])\n",
     "            \n",
     "            if i > 0 and memoryCells == 16: ## throwing away the second memory cell entry in lower gains\n",
-    "                acelltable[1] = 255\n",
+    "                acelltable[1:] = 255\n",
     "            \n",
     "            \n",
     "            images, gainmaps, acelltable = rollout_data([images, gainmaps, acelltable]) # makes 4-dim vecs into 3-dim\n",