Fixing crud error and seeder