use global rather than config variable