Do not use deprecated global var