fixed existing/new note saving