fix : no room when number of pages sup than 9
Merge pull request #1576 from grandoc/3.5

fix : no room when number of pages sup than 9