auto remove read only when write