fixed the way we set the group labels