Two index files causes conflict