plotting of time series fixed