fixes for WriteRO