diff --git a/binarycpython/utils/custom_logging_functions.py b/binarycpython/utils/custom_logging_functions.py
index e3be2e16ba91c5bfbcaae024c8fe48fdf0aa5156..a17fcbb7adf42efcb1d0e34f233fc5eb5e1c3a40 100644
--- a/binarycpython/utils/custom_logging_functions.py
+++ b/binarycpython/utils/custom_logging_functions.py
@@ -203,7 +203,7 @@ def from_binary_c_config(config_file: str, flag: str) -> str:
 
     # convert and chop off newline
     res = res.decode("utf-8").rstrip()
-    print(res)
+    # print(res)
 
     return res
 
@@ -360,7 +360,7 @@ def compile_shared_lib(
             )
         )
     res = subprocess.check_output("{command}".format(command=command), shell=True)
-    print(res)
+    # print(res)
     if verbose > 0:
         if res:
             print("Output of compilation command:\n{}".format(res))
diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py
index eae019acd60757b704416aa254a9c2ae72226d1c..ff4d582c640d13485639080ebdaf2c0d0ec3707a 100644
--- a/binarycpython/utils/grid.py
+++ b/binarycpython/utils/grid.py
@@ -1019,7 +1019,7 @@ class Population:
                 break
 
         # Extra ensemble result manipulation:
-        combined_output_dict['ensemble_results']['ensemble'] = self.format_ensemble_results(combined_output_dict['ensemble_results']['ensemble'])
+        combined_output_dict['ensemble_results']['ensemble'] = self.format_ensemble_results(combined_output_dict['ensemble_results'].get('ensemble', {}))
         gc.collect()
 
         # Take into account that we run this on multiple cores