add readonly property to fields