return page number as int instead of P{int}