read/write printk improved