fix bug of next page button