fix for uninitialized constant YAML (NameError)