fix missing keyword `var`