fix spelling of pages from pags to pages

fix spelling of pages from pags to pages