fix path to index