resolved issue with randomizer