fix bug in ensemble stats init