notes bug fix