fixed a bug in time series display