Fixed forward issue where it didn't have access to the  var because it was global