simplify groupstab a bit