error messages grouping