fix and migratedown order_pages