fixed bug with group summary