fixed group loop