fix vectorizer pickling