Fix problem with read-onlyness