fix bug of save file error