fix to not return None as a group name