Fixed wrong index.