set index if change filter