add option Exception and YAML