bug when adding pages to new project