randomizer fix