Fixing a bug with the indexing of notes
Removing a console.log