fix problems in load function
one sweep correct
no crash now
add feature save
running no crash, results incorrect
Merge branch 'dev-sqm'