fix for wrong assignment way of index file path