fix for group selection on index