fix yaml parsing errors