destroy and export statistic