fixed bug with different indexing of page numbers onMeasureClicked