Fixed random gen seed issues.