fix clear timeseries