fix for readOnly properties