fix "int i = " -> "var i = "