fixed paging bug on first page button