isLastPage modified