fix seed error