bugfix: set page_num to 1 if a net pdf is activated.