fix typo

In this case either $i or $1 works, but it should probably be $1