fix group having bug