add history at result page.