updated to take out YAML errors