diff --git a/setup.py b/setup.py
index 3d3630f9f134813b642ed9c0fcdd2b8893240f5e..b5b531c16cb16419064fa91e91f3069a931ab0c6 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
 
 setuptools.setup(
     name="coursebox",
-    version="0.1.20.1",
+    version="0.1.20.2",
     author="Tue Herlau",
     author_email="tuhe@dtu.dk",
     description="A course management system currently used at DTU",
diff --git a/src/coursebox/material/documentation.py b/src/coursebox/material/documentation.py
index e5d9e26b0792151f9427c4ee69642230e60cecc6..400dd8a4f7f29107d8d268b4d937d68c1c64e6d3 100644
--- a/src/coursebox/material/documentation.py
+++ b/src/coursebox/material/documentation.py
@@ -92,6 +92,7 @@ def build_sphinx_documentation(cut_files=False, open_browser=True, build_and_cop
         x[k]['files'] = files
         # print(">>> k class is: ")
         # print(info_paths.core_conf['projects_all'][k])
+
         f = info_paths.core_conf['projects_all'][k]['class'].mfile()
         with open(f.split("_grade.py")[0], 'r') as ff:
             l = [l for l in ff.read().splitlines() if "(Report)" in l].pop().split("(")[0].split(" ")[-1]
diff --git a/src/coursebox/student_files/student_files.py b/src/coursebox/student_files/student_files.py
index 5d9c782c431761293905df0c9c03031515fa926f..8722bdec9bcc0c08260a5438e25d2f79bf7da98e 100644
--- a/src/coursebox/student_files/student_files.py
+++ b/src/coursebox/student_files/student_files.py
@@ -33,7 +33,11 @@ def setup_student_files(run_files=True,
     # from coursebox.core.info import class_information
     # info = class_information()
     from coursebox.core.info import core_conf
-    PACKAGE = list(core_conf['projects_all'].values()).pop()['module_public'].split(".")[0]
+    try:
+        PACKAGE = list(core_conf['projects_all'].values()).pop()['module_public'].split(".")[0]
+    except Exception as e:
+        PACKAGE = core_conf['package']
+
 
 
     if censor_files: