refine the index page