Fixed a silly bugs in the notes system