we're receiginv NaN in groupIndex se we've decided to sanitize the parameters used