bugfix: last page won't show