readwrite fix