fix an issue in timeseries_fetcher.rb