error to warning in discretizer