updated the pagination to clear look