fix small issues in save
Merge remote-tracking branch 'origin/master'