switched stype from 'page' to 'pages', desparately