fix save missing data error