fixes new page creation