Fix randomize.