Correct Yaml parsing errors