Fix transform and schema.