fix yaml exceptions in 1.9.3