fix selection of notes