do not use deprecated Config