changed page_permalink to pages_permalink