tidy page numbers and final page