div 2 fix for seed function.