fix the bug of seed