fix YAML validation