fix some config settings