fix the final model save bug
Merge pull request #6 from jasonwbw/cython

fix the final model save bug