Fixed the randomness of the system