changes some bugs of the notes