make samplesote properly clear itself