Fix initial group ids