Fix issue in Randomizer bean initialization