schema validation fixed