Fix readonly_fields error