read-only property syntax fix