fix: page_counter on PDF