cleaned up the index files