fix readOnly