fix to timeseries plotting errors