bug fix for delete note case