small update to adv_global.ec