fix the seed of the random the same as the np.random