fixed grouping and display of total (single level only)