fix navigation getDatas: return page index