Fixed issue with random numbers seed.