Fixed a bug with new note