close autowrite-related issue #19