fix .Random.seed warning