Seeds not being generated properly