diff --git a/notebooks/ePix100/Correction_ePix100_NBC.ipynb b/notebooks/ePix100/Correction_ePix100_NBC.ipynb
index 83ffb1e5983c8f2666be9b7f394ea54af5c83ad0..c241f8e270cdc3bbaffc18c13211915bdd562771 100644
--- a/notebooks/ePix100/Correction_ePix100_NBC.ipynb
+++ b/notebooks/ePix100/Correction_ePix100_NBC.ipynb
@@ -111,7 +111,7 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "if absolute_gain :\n",
+    "if absolute_gain:\n",
     "    relative_gain = True"
    ]
   },
@@ -291,10 +291,11 @@
     "\n",
     "if relative_gain and const_data[\"RelativeGain\"] is None:\n",
     "    print(\n",
-    "        \"WARNING: RelativeGain map is requested, but not found./n\"\n",
+    "        \"WARNING: RelativeGain map is requested, but not found.\\n\"\n",
     "        \"No gain correction will be applied\"\n",
     "    )\n",
     "    relative_gain = False\n",
+    "    absolute_gain = False\n",
     "    plot_unit = 'ADU'"
    ]
   },