fixed error in search index action