Fix wrong index.