resilience to yaml errors