fix error in global config read_or_create