fixed search index option with @KevinSjoberg