fixed a note structure bug in Samples