randomize fix