adjust package from timeseries to series