remove previous global flag