fixed: search index didn't changed back to 1 when searching new query