Removed redudant set_global()