remove the support of global variables