fixed addnote and importnote command after removal of owner to notes.