svm pig scripts bugs fixing start