fix savedata