fixed bug in better_nruns()