correct group numbers