revise pages.html problem