fix notes plugin