diff --git a/biscuit/apps/untis/sub.py b/biscuit/apps/untis/sub.py
index e4e21239e07428066affaad0591ec99777fc3799..77884b282ab93d8bd24ca668f773acb2d474a2f6 100644
--- a/biscuit/apps/untis/sub.py
+++ b/biscuit/apps/untis/sub.py
@@ -114,10 +114,11 @@ class Substitution(object):
 
         self.classes = []
         class_ids = untis_split_first(db_obj.classids, conv=int)
-        # print(class_ids)
+
+        print(class_ids)
         for id in class_ids:
             self.classes.append(drive["classes"][id])
-
+        print(self.classes)
 
 def substitutions_sorter(sub):
     # First, sort by class
@@ -220,7 +221,7 @@ def generate_sub_table(subs):
             sub_row.lesson = "{}.".format(sub.lesson)
 
         for class_ in sub.classes:
-            sub_row.classes = class_.name
+            sub_row.classes += class_.name
 
         sub_row.teacher = generate_teacher_row(sub)
         sub_row.teacher_full = generate_teacher_row(sub, full=True)