fixed bug with initial condition of seed.