fix currentPagenum tostring