fix page index