diff --git a/matlab/TCV_IMAS/tcv_get_ids_nbi.m b/matlab/TCV_IMAS/tcv_get_ids_nbi.m
index b4c5e644df21a911fcac62a9a5f976c12a0adb62..073bf1d4bea668e88b800097ce380f1b9be0e793 100644
--- a/matlab/TCV_IMAS/tcv_get_ids_nbi.m
+++ b/matlab/TCV_IMAS/tcv_get_ids_nbi.m
@@ -15,7 +15,6 @@ ids_nbi_description='';
 
 
 nb_units = 2; % assume 2 units: 1st NBH and DNBI
-nb_units = 1; % assume 2 units: 1st NBH and DNBI
 ids_nbi.unit(1:nb_units) = ids_nbi.unit(1); % copy empty structure for all units, then fill in
 
 % create lists of what is different for each units so that can scan through units
diff --git a/matlab/TCV_IMAS/tcv_ids_bpol_probe.m b/matlab/TCV_IMAS/tcv_ids_bpol_probe.m
index e0aede173023ea5c16009e8d4a2c9ef037ed0f8d..1eef311b86be9abf57f20d9a2726720af59f37ce 100644
--- a/matlab/TCV_IMAS/tcv_ids_bpol_probe.m
+++ b/matlab/TCV_IMAS/tcv_ids_bpol_probe.m
@@ -68,8 +68,8 @@ switch error_bar
  case 'delta'
   for ii=1:Nprobes
     sub_ids_struct_out{ii}.field.data_error_upper = fixed_error.*ones(size(sub_ids_struct_out{ii}.field.data));% TO BE FOUND;
-  sub_ids_struct_out_description{ii}.field_data_error_upper = ['from fixed error value in case ' error_bar];
-  sub_ids_struct_out_description{ii}.field_data_error_lower = ['not provided since symmetric'];
+    sub_ids_struct_out_description{ii}.field_data_error_upper = ['from fixed error value in case ' error_bar];
+    sub_ids_struct_out_description{ii}.field_data_error_lower = ['not provided since symmetric'];
   end
  case 'delta_with_lower'
   for ii=1:Nprobes