get page with id to query