fix some config error.