corrected case sensitive grouping issue