fixed problem with older pickled detectors, and a real bug with SVMManager