hotfix SvmTools.py