improve archive page and search result page