Fix typo on loop var.