finally fixing notes bug