fix thie issue about delete notes.