remove global config but fix up the global config db array