fixed restoring multiple notes with the same name