bug fix on statistic download