fix readonly properties