fixed the index file