#4 minor fix in setting the  var