remove function indexPageOld