switch rw to ro