fixed new page controller bug