bug fix

typo, seeds rand()