minor bug in classifier pickling