diff --git a/matlab/expand_group.m b/matlab/expand_group.m
index 9c2e087944dabea2eef6e8ba58a3480d6973f90c..8e54f995a35a8a5c9851b959e1b3ee68684402ca 100644
--- a/matlab/expand_group.m
+++ b/matlab/expand_group.m
@@ -46,6 +46,9 @@ options.nobs=mydata.nobs;
 label = mydata.shock_group.label;
 label = strrep(label,' ','_');
 label = strrep(label,'-','_');
+label = strrep(label,'(','');
+label = strrep(label,')','');
+label = strrep(label,'.','');
 shocks = mydata.shock_group.shocks;
 options.plot_shock_decomp.fig_name = [mydata.fig_name '. Expand'];
 options.plot_shock_decomp.use_shock_groups = label; %[use_shock_groups_old int2str(ic)];