fix the schema