change the config way