fixed the problem that tries to make the index with the existing name.