support for injecting the first page number