Fixed validation errors.