fix random number

fix random number