fix bug in Globals class set_config method