Fix index file