replace the 'default' with parsing the config for defaults - issue #280