grouping student fix