bugfix creating a new note