fix public currentPageIndex property name