fix nav index bug