finish history page