fix new page bug