Make group null if not background