bug fix  var global inter activity