fixed freeing deleted classifiers from memory