add default value for generating config string, in order to prevent exception occurring