fixed param schema validation error handling