Notice how the spelling of the word Page changes on each page:
Page 10
Pbge 10
Pcge 10
etc...
The character a is interpreted by the counter as the symbol to increment, so it changes from a to b to c, etc…
To get your desired effect the “Page” should be placed outside of the display() function. This way there is no confusion about the display format that you want.