bug in notes fixed