fix the bug for new page