fix the group by documentation