fix YAML import / export