schema validation fix