change Pages.all interface