fix readonly