make global  var local