improve top page and prepare to paging