Correcting validation errors.