beta fix

missed global var