fixed VarDef() in bindings