Fix bug in page number.