bugfix: correct show total page on last page