fix time series report, and other bugs