now pages are correct