more error control in timeseries