Fix issue with index file path