fix an issue with the index path