fix for the mandatory group selection on index jade