Fix some config