Fixed note, so that it now attaches correctly

Still need to work on detatching.