use escapedPageQuery instead of pageQuery