save training data no matter what, closes #29