fix index file location