Fix  data series creation