Just a guess: it looks like you missed the braces to embed the variable names:
here the shell tries to substitute a variable called
i_ (i underscore, since the underscore is a valid character for variable names), whereas
will work with the non-null $i value followed by a literal underscore and by the value of the variable
now.