finish history data