some bug with save function
Merge pull request #18 from frankmu/master

merge