Fix adding new page issue