fixed index bug. now closing to remove locks
absolute path svm
fixed bug