fix: wrong index