patch to CFG global