fix writable logging