Fix randomizer