remove testing code in note plugin