support validation error handling