Fix deprecated config