added default value for config_type