Fixed YAML issue with writes.