readwrite: working on the fix

Signed-off-by: Joe Buck <jbbuck@gmail.com>