fixed renaming of notes that are to be restored