fixed bug with --n_rand_start=1