fixed bug when seed textbox entered with value other than integer