fix bugs, add seed_dump