prepare for paging
modify 'favor' has not work