page index bug