fix the pages to make it work.