fix Config class