fix grouping summary and reversing