diff --git a/demo/config_demo.yml b/demo/config_demo.yml
index fdfeea36f1201f26cd71a2dfc50fc037b6e932e9..ddfe99416213ae7dc9e2891a7b7b4e9b7ba1f283 100644
--- a/demo/config_demo.yml
+++ b/demo/config_demo.yml
@@ -1,7 +1,8 @@
 n_views: 4
 n_classes: 3
 error_matrix:
-  - [0.4, 0.4, 0.4, 0.4]
+  -
+      -[
   - [0.55, 0.4, 0.4, 0.4]
   - [0.4, 0.5, 0.52, 0.55]
 n_samples: 2000
diff --git a/multiview_generator/multiple_sub_problems.py b/multiview_generator/multiple_sub_problems.py
index e92c8cab5e448f0a3fcbd4c76041022c40702779..5d017c5f853fc00a2b4130220e60a62670a96806 100644
--- a/multiview_generator/multiple_sub_problems.py
+++ b/multiview_generator/multiple_sub_problems.py
@@ -429,6 +429,8 @@ class MultiViewSubProblemsGenerator:
         else:
             for class_index, complementarity in enumerate(self.complementarity):
                 n_comp = int(self.complementarity_level[class_index]*self.n_views)
+                print(self.n_views)
+                print(int(self.complementarity_level[class_index]*self.n_views))
                 self.complementarity_examples[class_index] = self.rs.choice(
                     self.available_init_indices[class_index],
                     size=int(self.n_examples_per_class[
@@ -461,7 +463,7 @@ class MultiViewSubProblemsGenerator:
 
     def _gen_example_indices(self, ):
         """
-        Selects examples accordin to their role (redundancy, ....) and then
+        Selects examples according to their role (redundancy, ....) and then
         affects more error if needed according to the input confusion matrix)
 
         """