fixed exception when page number is not a digit in Cabinet