fix the yaml parsing.