fix: declare variable i
fix: declare variable i