bugfix: undefined next page