fixed seed bug