change rw into wo