fixing notes bug