fix some config file