fix index file paths