Fix index file.