Fix error indexpage.