random generator small code change
IE crypto