better error for time series