fixed header number
but now all of the pages are shifted by -1