minor fix for seed setting