change from eachSeries to each