chg: save and export fix: some bugs