minor edits to get prep_classifier_data working