fix index.