fix data save