Fix bug in schema.