set correct page numbering