purge use of rootpy_globals