remove arrangeGroup function

have some problem