fix notes bug