Make sure groupName doesn't return null