Fixed bug in seed code.