remove the warnings about deprecated Config [ci skip]