When making or finding or moving a note (agent, etc.), the command returns a reference to that object and if needing to work further this that object it is best to capture the object in a variable.
So, rather than use:
make new note
this is a better approach:
set myNote to make new note