added a warning about potential seg fault from bad training data