Fixed YAML parsing bug