remove unnecessary codes in seed
refactoring