fix page number type