Fixing path to index