fix read/write mixup