improve note/knote snippets