some changes for smartNotesService